package com.android.matmanual;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class FactoryReset extends Activity
{
	private TextView mTextView1;
	private TextView mTextView2;
	private TextView mTextView3;
	private TextView mTextView4;
	
	private Button Button = null;
	private int num = 0;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.facset_test);
        setTitle("恢复出厂设置");
        
        Button = (Button)findViewById(R.id.okbutton);
        Button.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				EntryFacotryReset();
			}			
		});	
        
        mTextView1 = (TextView)findViewById(R.id.step1);
        mTextView1.setText("第一步操作...");
        
        mTextView2 = (TextView)findViewById(R.id.step2);
        mTextView2.setText("第二步操作...");
        
        mTextView3 = (TextView)findViewById(R.id.step3);
        mTextView3.setText("第三步操作...");
        
        mTextView4 = (TextView)findViewById(R.id.step4);
        mTextView4.setText("第四步操作...");
        
    }
    
    public void EntryFacotryReset(){
    	startActivity(new Intent("android.settings.PRIVACY_SETTINGS"));
    }
	

}
